{% extends 'base-message.html' %}
{% block title %}待办消息{% endblock %}
{% block message_content %}
    <div style="padding:5px 0 10px 5px;border-bottom: 1px solid #ddd;">
        <b>{{ table_name }} 数据表</b></div>
    <table class="table">
        <tr>
            <th>id</th>
            <th>biz_id</th>
            <th>app_code</th>
            <th>pc_code</th>
            <th>channels</th>
            <th>action</th>
            <th>操作</th>
        </tr>
        {% for row in records %}
            <tr>
                <td>{{ row[0] }}</td>
                <td>{{ row[1] }}</td>
                <td>{{ row[2] }}</td>
                <td>{{ row[3] }}</td>
                <td>{{ row[4] }}</td>
                <td>{{ row[5] }}</td>
                <td>
                    <a href="javascript:;" class="btn btn-link btn_api" style="padding:0;vertical-align:middle;"
                       data-id="{{ row[0] }}" data-action="{{ action }}">pending_send</a>
                </td>
            </tr>
        {% endfor %}
    </table>
{% endblock %}